/// 网络结果数据
class ResultData {
  var data;
  bool result;
  int code;
  var headers;

  ResultData(this.data, this.result, this.code, {this.headers});

  Map<String, dynamic> toJson() {
    return {'data': data, 'result': result, 'code': code, 'headers': headers};
  }
}
